<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.module.ModuleBase</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.module-module.html">Module&nbsp;module</a> ::
        Class&nbsp;ModuleBase
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.module.ModuleBase-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class ModuleBase</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_62" name="uml_class_diagram_for_pybindge_62">
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#current_section" title="pybindgen.module.ModuleBase.current_section" alt="" coords="17,377,457,396"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#name" title="pybindgen.module.ModuleBase.name" alt="" coords="17,396,457,415"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#__init__" title="Note: this is an abstract base class, see Module" alt="" coords="17,417,457,436"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_current_section" title="pybindgen.module.ModuleBase.get_current_section" alt="" coords="17,436,457,455"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#begin_section" title="Declare that types and functions registered with the module in the future &#160;belong to the section given by that section_name parameter, until a &#160;matching end_section() is called." alt="" coords="17,455,457,473"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#end_section" title="Declare the end of a section, i.e." alt="" coords="17,473,457,492"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_name" title="pybindgen.module.ModuleBase.get_name" alt="" coords="17,492,457,511"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_name" title="pybindgen.module.ModuleBase.set_name" alt="" coords="17,511,457,529"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_submodule" title="get a submodule by its name" alt="" coords="17,529,457,548"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_root" title="Returns: &#160;the root Module (even if it is self)" alt="" coords="17,548,457,567"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_strip_prefix" title="Sets the prefix string to be used when transforming a C function name into &#160;the python function name; the given prefix string is removed from the C &#160;function name." alt="" coords="17,567,457,585"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_c_function_name_transformer" title="Sets the function to be used when transforming a C function name into the &#160;python function name; the given given function is called like this:" alt="" coords="17,585,457,604"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_include" title="Adds an additional include directive, needed to compile this python module" alt="" coords="17,604,457,623"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_function" title="Add a function to the module/namespace." alt="" coords="17,623,457,641"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_custom_function_wrapper" title="Add a function, using custom wrapper code, to the module/namespace." alt="" coords="17,641,457,660"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_typedef" title="Declares an equivalent to a typedef in C:" alt="" coords="17,679,457,697"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html" title="ModuleBase objects can be indexed dictionary style to access contained types." alt="" coords="16,360,459,699"/>
<area shape="rect" href="pybindgen.module.Module-class.html" title="pybindgen.module.Module" alt="" coords="151,728,207,755"/>
<area shape="rect" href="pybindgen.module.SubModule-class.html" title="pybindgen.module.SubModule" alt="" coords="257,728,337,755"/>
<area shape="rect" href="javascript:void(0);" title="hash(x)" alt="" coords="177,28,297,47"/>
<area shape="rect" href="javascript:void(0);" title="cmp(x,y)" alt="" coords="177,49,297,68"/>
<area shape="rect" href="javascript:void(0);" title="dict.__contains__" alt="" coords="177,68,297,87"/>
<area shape="rect" href="javascript:void(0);" title="del x[y]" alt="" coords="177,87,297,105"/>
<area shape="rect" href="javascript:void(0);" title="x==y" alt="" coords="177,105,297,124"/>
<area shape="rect" href="javascript:void(0);" title="x&gt;=y" alt="" coords="177,124,297,143"/>
<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="177,143,297,161"/>
<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="177,161,297,180"/>
<area shape="rect" href="javascript:void(0);" title="x&gt;y" alt="" coords="177,180,297,199"/>
<area shape="rect" href="javascript:void(0);" title="iter(x)" alt="" coords="177,199,297,217"/>
<area shape="rect" href="javascript:void(0);" title="x&lt;=y" alt="" coords="177,217,297,236"/>
<area shape="rect" href="javascript:void(0);" title="len(x)" alt="" coords="177,236,297,255"/>
<area shape="rect" href="javascript:void(0);" title="x&lt;y" alt="" coords="177,255,297,273"/>
<area shape="rect" href="javascript:void(0);" title="x!=y" alt="" coords="177,273,297,292"/>
<area shape="rect" href="javascript:void(0);" title="dict.values" alt="" coords="177,311,297,329"/>
<area shape="rect" href="javascript:void(0);" title="dict() &#45;&gt; new empty dictionary." alt="" coords="176,11,299,331"/>
</map>
  <img src="uml_class_diagram_for_pybindge_62.gif" alt='' usemap="#uml_class_diagram_for_pybindge_62" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>ModuleBase objects can be indexed dictionary style to access contained
  types.  Example:</p>
<pre class="literalblock">
 &gt;&gt;&gt; from enum import Enum
 &gt;&gt;&gt; from cppclass import CppClass
 &gt;&gt;&gt; m = Module(&quot;foo&quot;, cpp_namespace=&quot;foo&quot;)
 &gt;&gt;&gt; subm = m.add_cpp_namespace(&quot;subm&quot;)
 &gt;&gt;&gt; c1 = m.add_class(&quot;Bar&quot;)
 &gt;&gt;&gt; c2 = subm.add_class(&quot;Zbr&quot;)
 &gt;&gt;&gt; e1 = m.add_enum(&quot;En1&quot;, [&quot;XX&quot;])
 &gt;&gt;&gt; e2 = subm.add_enum(&quot;En2&quot;, [&quot;XX&quot;])
 &gt;&gt;&gt; m[&quot;Bar&quot;] is c1
 True
 &gt;&gt;&gt; m[&quot;foo::Bar&quot;] is c1
 True
 &gt;&gt;&gt; m[&quot;En1&quot;] is e1
 True
 &gt;&gt;&gt; m[&quot;foo::En1&quot;] is e1
 True
 &gt;&gt;&gt; m[&quot;badname&quot;]
 Traceback (most recent call last):
   File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
 KeyError: 'badname'
 &gt;&gt;&gt; m[&quot;foo::subm::Zbr&quot;] is c2
 True
 &gt;&gt;&gt; m[&quot;foo::subm::En2&quot;] is e2
 True
</pre>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type"><pre class="literalblock">
new empty dictionary

</pre></span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">parent</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">docstring</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">cpp_namespace</span>=<span class="summary-sig-default">None</span>)</span><br />
      Note: this is an abstract base class, see <a 
      href="pybindgen.module.Module-class.html" class="link">Module</a></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___47-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___47-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___47" name="call_graph_for___init___47">
<area shape="rect" href="pybindgen.module.Module-class.html#__init__" title="Module.__init__()" alt="" coords="24,117,200,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#__init__" title="__init__()" alt="" coords="268,145,372,177"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_namespace_path" title="get_namespace_path()" alt="" coords="548,5,777,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_name" title="set_name()" alt="" coords="601,61,724,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_strip_prefix" title="set_strip_prefix()" alt="" coords="575,117,751,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#__init__" title="typehandlers.base.CodeBlock.__init__()" alt="" coords="473,173,852,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#__init__" title="typehandlers.base.DeclarationsScope.__init__()" alt="" coords="436,229,889,261"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#__init__" title="typehandlers.codesink.MemoryCodeSink.__init__()" alt="" coords="421,285,904,317"/>
<area shape="rect" href="pybindgen.module.SubModule-class.html#__init__" title="SubModule.__init__()" alt="" coords="7,173,217,205"/>
</map>
  <img src="call_graph_for___init___47.gif" alt='' usemap="#call_graph_for___init___47" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_current_section"></a><span class="summary-sig-name">get_current_section</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.get_current_section">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_current_sec-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_current_sec-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_current_sec" name="call_graph_for_get_current_sec">
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_class_obj" title="_add_class_obj()" alt="" coords="28,5,196,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_current_section" title="get_current_section()" alt="" coords="267,89,485,121"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_container_obj" title="_add_container_obj()" alt="" coords="7,61,217,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_enum_obj" title="_add_enum_obj()" alt="" coords="24,117,200,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_function_obj" title="_add_function_obj()" alt="" coords="12,173,212,205"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_root" title="get_root()" alt="" coords="535,89,647,121"/>
</map>
  <img src="call_graph_for_get_current_sec.gif" alt='' usemap="#call_graph_for_get_current_sec" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#begin_section" class="summary-sig-name">begin_section</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">section_name</span>)</span><br />
      Declare that types and functions registered with the module in the 
      future belong to the section given by that section_name parameter, 
      until a matching end_section() is called.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.begin_section">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#end_section" class="summary-sig-name">end_section</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">section_name</span>)</span><br />
      Declare the end of a section, i.e.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.end_section">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_name"></a><span class="summary-sig-name">get_name</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.get_name">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_name-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_name-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_name" name="call_graph_for_get_name">
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#do_generate" title="do_generate()" alt="" coords="28,5,177,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_name" title="get_name()" alt="" coords="249,89,375,121"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_module_path" title="get_module_path()" alt="" coords="5,61,200,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_submodule" title="get_submodule()" alt="" coords="16,117,189,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_name" title="set_name()" alt="" coords="41,173,164,205"/>
</map>
  <img src="call_graph_for_get_name.gif" alt='' usemap="#call_graph_for_get_name" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_name"></a><span class="summary-sig-name">set_name</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.set_name">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_set_name-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_set_name-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_set_name" name="call_graph_for_set_name">
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#__init__" title="__init__()" alt="" coords="7,5,111,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_name" title="set_name()" alt="" coords="161,5,284,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_name" title="get_name()" alt="" coords="335,5,460,37"/>
</map>
  <img src="call_graph_for_set_name.gif" alt='' usemap="#call_graph_for_set_name" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_submodule"></a><span class="summary-sig-name">get_submodule</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">submodule_name</span>)</span><br />
      get a submodule by its name</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.get_submodule">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_submodule-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_submodule-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_submodule" name="call_graph_for_get_submodule">
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="5,5,549,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_submodule" title="get_submodule()" alt="" coords="599,33,772,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_cpp_namespace" title="add_cpp_namespace()" alt="" coords="167,61,388,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_name" title="get_name()" alt="" coords="823,33,948,65"/>
</map>
  <img src="call_graph_for_get_submodule.gif" alt='' usemap="#call_graph_for_get_submodule" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#get_root" class="summary-sig-name">get_root</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Returns:
      the root <a href="pybindgen.module.Module-class.html" 
      class="link">Module</a> (even if it is self)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.get_root">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_root-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_root-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_root" name="call_graph_for_get_root">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_container_constructor" title="container.Container._generate_container_constructor()" alt="" coords="15,5,540,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_root" title="get_root()" alt="" coords="599,201,711,233"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_update_names" title="container.Container._update_names()" alt="" coords="95,61,460,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="container.Container.generate_forward_declarations()" alt="" coords="24,117,531,149"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_number_methods" title="cppclass.CppClass._generate_number_methods()" alt="" coords="44,173,511,205"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_sequence_methods" title="cppclass.CppClass._generate_sequence_methods()" alt="" coords="37,229,517,261"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="5,285,549,317"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="23,341,532,373"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_current_section" title="get_current_section()" alt="" coords="168,397,387,429"/>
</map>
  <img src="call_graph_for_get_root.gif" alt='' usemap="#call_graph_for_get_root" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_strip_prefix"></a><span class="summary-sig-name">set_strip_prefix</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">prefix</span>)</span><br />
      Sets the prefix string to be used when transforming a C function name
      into the python function name; the given prefix string is removed 
      from the C function name.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.set_strip_prefix">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_set_strip_prefi-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_set_strip_prefi-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_set_strip_prefi" name="call_graph_for_set_strip_prefi">
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#__init__" title="__init__()" alt="" coords="7,5,111,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_strip_prefix" title="set_strip_prefix()" alt="" coords="160,5,336,37"/>
</map>
  <img src="call_graph_for_set_strip_prefi.gif" alt='' usemap="#call_graph_for_set_strip_prefi" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#set_c_function_name_transformer" class="summary-sig-name">set_c_function_name_transformer</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">transformer</span>)</span><br />
      Sets the function to be used when transforming a C function name into
      the python function name; the given given function is called like 
      this:</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.set_c_function_name_transformer">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_include" class="summary-sig-name">add_include</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">include</span>)</span><br />
      Adds an additional include directive, needed to compile this python 
      module</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_include">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_include-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_include-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_include" name="call_graph_for_add_include">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_output_stream_operator" title="cppclass.CppClass.add_output_stream_operator()" alt="" coords="5,5,477,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_include" title="add_include()" alt="" coords="525,61,669,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_helper_class" title="cppclass.CppClass.get_helper_class()" alt="" coords="64,61,419,93"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#parse_init" title="gccxmlparser.ModuleParser.parse_init()" alt="" coords="53,117,429,149"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="717,61,837,93"/>
</map>
  <img src="call_graph_for_add_include.gif" alt='' usemap="#call_graph_for_add_include" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_function" class="summary-sig-name">add_function</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      Add a function to the module/namespace.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_function">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_function-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_function-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_function" name="call_graph_for_add_function">
<area shape="rect" href="pybindgen.function.Function-class.html#__init__" title="function.Function.__init__()" alt="" coords="800,5,1072,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="5,33,549,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_function" title="add_function()" alt="" coords="599,33,751,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_function_obj" title="_add_function_obj()" alt="" coords="836,61,1036,93"/>
</map>
  <img src="call_graph_for_add_function.gif" alt='' usemap="#call_graph_for_add_function" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_custom_function_wrapper" class="summary-sig-name">add_custom_function_wrapper</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      Add a function, using custom wrapper code, to the module/namespace.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_custom_function_wrapper">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_custom_func-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_custom_func-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_custom_func" name="call_graph_for_add_custom_func">
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html#__init__" title="function.CustomFunctionWrapper.__init__()" alt="" coords="371,5,789,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_function_obj" title="_add_function_obj()" alt="" coords="480,61,680,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_custom_function_wrapper" title="add_custom_function_wrapper()" alt="" coords="7,33,321,65"/>
</map>
  <img src="call_graph_for_add_custom_func.gif" alt='' usemap="#call_graph_for_add_custom_func" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#register_type" class="summary-sig-name">register_type</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">full_name</span>,
        <span class="summary-sig-arg">type_wrapper</span>)</span><br />
      Register a type wrapper with the module, for easy access in the 
      future.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.register_type">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_register_type-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_register_type-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_register_type" name="call_graph_for_register_type">
<area shape="rect" href="pybindgen.container.Container-class.html#register_alias" title="container.Container.register_alias()" alt="" coords="5,5,349,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#register_type" title="register_type()" alt="" coords="397,145,555,177"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#register_alias" title="cppclass.CppClass.register_alias()" alt="" coords="15,61,340,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_class_obj" title="_add_class_obj()" alt="" coords="93,117,261,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_container_obj" title="_add_container_obj()" alt="" coords="72,173,283,205"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_enum_obj" title="_add_enum_obj()" alt="" coords="89,229,265,261"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_typedef" title="add_typedef()" alt="" coords="104,285,251,317"/>
</map>
  <img src="call_graph_for_register_type.gif" alt='' usemap="#call_graph_for_register_type" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_class" class="summary-sig-name">add_class</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      Add a class to the module.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_class">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_class_2-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_class_2-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_class_2" name="call_graph_for_add_class_2">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#__init__" title="cppclass.CppClass.__init__()" alt="" coords="737,5,1009,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_class" title="cppclass.CppClass.add_class()" alt="" coords="117,5,405,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_class" title="add_class()" alt="" coords="567,33,687,65"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,61,516,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_class_obj" title="_add_class_obj()" alt="" coords="789,61,957,93"/>
</map>
  <img src="call_graph_for_add_class_2.gif" alt='' usemap="#call_graph_for_add_class_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_struct" class="summary-sig-name">add_struct</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      Add a struct to the module.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_struct">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_struct-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_struct-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_struct" name="call_graph_for_add_struct">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#__init__" title="cppclass.CppClass.__init__()" alt="" coords="253,5,525,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_constructor" title="cppclass.CppClass.add_constructor()" alt="" coords="213,61,565,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_copy_constructor" title="cppclass.CppClass.add_copy_constructor()" alt="" coords="188,117,591,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_class_obj" title="_add_class_obj()" alt="" coords="305,173,473,205"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_struct" title="add_struct()" alt="" coords="7,89,137,121"/>
</map>
  <img src="call_graph_for_add_struct.gif" alt='' usemap="#call_graph_for_add_struct" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_cpp_namespace" class="summary-sig-name">add_cpp_namespace</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Add a nested module namespace corresponding to a C++ namespace.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_cpp_namespace">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_cpp_namespa-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_cpp_namespa-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_cpp_namespa" name="call_graph_for_add_cpp_namespa">
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,61,516,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_cpp_namespace" title="add_cpp_namespace()" alt="" coords="565,61,787,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_submodule" title="get_submodule()" alt="" coords="855,5,1028,37"/>
<area shape="rect" href="pybindgen.module.SubModule-class.html#__init__" title="SubModule.__init__()" alt="" coords="836,61,1047,93"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="881,117,1001,149"/>
</map>
  <img src="call_graph_for_add_cpp_namespa.gif" alt='' usemap="#call_graph_for_add_cpp_namespa" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_enum" class="summary-sig-name">add_enum</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      Add an enumeration to the module.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_enum">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_enum_2-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_enum_2-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_enum_2" name="call_graph_for_add_enum_2">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_enum" title="cppclass.CppClass.add_enum()" alt="" coords="112,5,411,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_enum" title="add_enum()" alt="" coords="565,33,696,65"/>
<area shape="rect" href="pybindgen.enum.Enum-class.html#__init__" title="enum.Enum.__init__()" alt="" coords="745,5,967,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,61,516,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_enum_obj" title="_add_enum_obj()" alt="" coords="768,61,944,93"/>
</map>
  <img src="call_graph_for_add_enum_2.gif" alt='' usemap="#call_graph_for_add_enum_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_container" class="summary-sig-name">add_container</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      Add a container to the module.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_container">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_container-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_container-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_container" name="call_graph_for_add_container">
<area shape="rect" href="pybindgen.container.Container-class.html#__init__" title="container.Container.__init__()" alt="" coords="735,5,1025,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_register_container" title="gccxmlparser.ModuleParser._register_container()" alt="" coords="7,33,471,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_container" title="add_container()" alt="" coords="520,33,685,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_container_obj" title="_add_container_obj()" alt="" coords="775,61,985,93"/>
</map>
  <img src="call_graph_for_add_container.gif" alt='' usemap="#call_graph_for_add_container" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#declare_one_time_definition" class="summary-sig-name">declare_one_time_definition</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">definition_name</span>)</span><br />
      Internal helper method for code geneneration to coordinate generation
      of code that can only be defined once per compilation unit</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.declare_one_time_definition">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_declare_one_tim-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_declare_one_tim-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_declare_one_tim" name="call_graph_for_declare_one_tim">
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="container.Container.generate_forward_declarations()" alt="" coords="7,5,513,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#declare_one_time_definition" title="declare_one_time_definition()" alt="" coords="564,89,855,121"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_typeid_map" title="cppclass.CppClass._generate_typeid_map()" alt="" coords="55,61,465,93"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_c_to_python_type_converter" title="Module.generate_c_to_python_type_converter()" alt="" coords="28,117,492,149"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_python_to_c_type_converter" title="Module.generate_python_to_c_type_converter()" alt="" coords="28,173,492,205"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="904,89,1024,121"/>
</map>
  <img src="call_graph_for_declare_one_tim.gif" alt='' usemap="#call_graph_for_declare_one_tim" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="generate_forward_declarations"></a><span class="summary-sig-name">generate_forward_declarations</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>)</span><br />
      (internal) generate forward declarations for types</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.generate_forward_declarations">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_forwar_4-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_generate_forwar_4-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_forwar_4" name="call_graph_for_generate_forwar_4">
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="container.Container.generate_forward_declarations()" alt="" coords="577,5,1084,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#generate_forward_declarations" title="cppclass.CppClass.generate_forward_declarations()" alt="" coords="587,61,1075,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#do_generate" title="do_generate()" alt="" coords="7,61,156,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#generate_forward_declarations" title="generate_forward_declarations()" alt="" coords="207,61,527,93"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="typehandlers.codesink.FileCodeSink.writeln()" alt="" coords="613,117,1048,149"/>
</map>
  <img src="call_graph_for_generate_forwar_4.gif" alt='' usemap="#call_graph_for_generate_forwar_4" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_module_path"></a><span class="summary-sig-name">get_module_path</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the full [module, submodule, submodule,...] path</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.get_module_path">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_module_path-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_module_path-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_module_path" name="call_graph_for_get_module_path">
<area shape="rect" href="pybindgen.container.Container-class.html#_get_python_full_name" title="container.Container._get_python_full_name()" alt="" coords="9,5,444,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_module_path" title="get_module_path()" alt="" coords="496,61,691,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_type_structure" title="cppclass.CppClass._generate_type_structure()" alt="" coords="5,61,448,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#do_generate" title="do_generate()" alt="" coords="152,117,301,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_name" title="get_name()" alt="" coords="740,61,865,93"/>
</map>
  <img src="call_graph_for_get_module_path.gif" alt='' usemap="#call_graph_for_get_module_path" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_namespace_path"></a><span class="summary-sig-name">get_namespace_path</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the full [root_namespace, namespace, namespace,...] path (C++)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.get_namespace_path">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_namespace_p-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_namespace_p-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_namespace_p" name="call_graph_for_get_namespace_p">
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="5,5,549,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_namespace_path" title="get_namespace_path()" alt="" coords="597,89,827,121"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="23,61,532,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#__init__" title="__init__()" alt="" coords="225,117,329,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_typedef" title="add_typedef()" alt="" coords="204,173,351,205"/>
</map>
  <img src="call_graph_for_get_namespace_p.gif" alt='' usemap="#call_graph_for_get_namespace_p" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="do_generate"></a><span class="summary-sig-name">do_generate</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">out</span>,
        <span class="summary-sig-arg">module_file_base_name</span>=<span class="summary-sig-default">None</span>)</span><br />
      (internal) Generates the module.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.do_generate">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_do_generate-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_do_generate-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_do_generate" name="call_graph_for_do_generate">
<area shape="rect" href="pybindgen.container.Container-class.html#generate" title="container.Container.generate()" alt="" coords="560,5,864,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#generate" title="cppclass.CppClass.generate()" alt="" coords="569,61,855,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#generate_typedef" title="cppclass.CppClass.generate_typedef()" alt="" coords="529,117,895,149"/>
<area shape="rect" href="pybindgen.enum.Enum-class.html#generate" title="enum.Enum.generate()" alt="" coords="595,173,829,205"/>
<area shape="rect" href="pybindgen.enum.Enum-class.html#generate_declaration" title="enum.Enum.generate_declaration()" alt="" coords="539,229,885,261"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate" title="Module.generate()" alt="" coords="7,593,196,625"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#do_generate" title="do_generate()" alt="" coords="247,593,396,625"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#generate_forward_declarations" title="generate_forward_declarations()" alt="" coords="552,285,872,317"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_module_path" title="get_module_path()" alt="" coords="615,341,809,373"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_name" title="get_name()" alt="" coords="649,397,775,429"/>
<area shape="rect" href="javascript:void(0);" title="_MonolithicSinkManager.get_code_sink_for_wrapper()" alt="" coords="455,453,969,485"/>
<area shape="rect" href="javascript:void(0);" title="_MonolithicSinkManager.get_includes_code_sink()" alt="" coords="475,509,949,541"/>
<area shape="rect" href="javascript:void(0);" title="_MonolithicSinkManager.get_main_code_sink()" alt="" coords="488,565,936,597"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#get_py_method_def" title="overloading.OverloadedWrapper.get_py_method_def()" alt="" coords="455,621,969,653"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_cleanup" title="typehandlers.base.CodeBlock.write_cleanup()" alt="" coords="492,677,932,709"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="507,733,917,765"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_error_check" title="typehandlers.base.CodeBlock.write_error_check()" alt="" coords="473,789,951,821"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="445,845,979,877"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#get_code_sink" title="typehandlers.base.DeclarationsScope.get_code_sink()" alt="" coords="456,901,968,933"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#indent" title="typehandlers.codesink.CodeSink.indent()" alt="" coords="513,957,911,989"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#unindent" title="typehandlers.codesink.CodeSink.unindent()" alt="" coords="501,1013,923,1045"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="typehandlers.codesink.FileCodeSink.writeln()" alt="" coords="495,1069,929,1101"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#flush_to" title="typehandlers.codesink.MemoryCodeSink.flush_to()" alt="" coords="469,1125,955,1157"/>
<area shape="rect" href="pybindgen.utils-module.html#call_with_error_handling" title="utils.call_with_error_handling()" alt="" coords="559,1181,865,1213"/>
</map>
  <img src="call_graph_for_do_generate.gif" alt='' usemap="#call_graph_for_do_generate" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      repr(x)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.__repr__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#add_typedef" class="summary-sig-name">add_typedef</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">wrapper</span>,
        <span class="summary-sig-arg">alias</span>)</span><br />
      Declares an equivalent to a typedef in C:</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_typedef">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_typedef-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_add_typedef-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_typedef" name="call_graph_for_add_typedef">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#register_alias" title="cppclass.CppClass.register_alias()" alt="" coords="763,5,1088,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,89,516,121"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_typedef" title="add_typedef()" alt="" coords="567,89,713,121"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_namespace_path" title="get_namespace_path()" alt="" coords="811,61,1040,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#register_type" title="register_type()" alt="" coords="847,117,1004,149"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="865,173,985,205"/>
</map>
  <img src="call_graph_for_add_typedef.gif" alt='' usemap="#call_graph_for_add_typedef" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>dict</code></b>:
      <code>__cmp__</code>,
      <code>__contains__</code>,
      <code>__delitem__</code>,
      <code>__eq__</code>,
      <code>__ge__</code>,
      <code>__getattribute__</code>,
      <code>__getitem__</code>,
      <code>__gt__</code>,
      <code>__iter__</code>,
      <code>__le__</code>,
      <code>__len__</code>,
      <code>__lt__</code>,
      <code>__ne__</code>,
      <code>__new__</code>,
      <code>__setitem__</code>,
      <code>__sizeof__</code>,
      <code>clear</code>,
      <code>copy</code>,
      <code>fromkeys</code>,
      <code>get</code>,
      <code>has_key</code>,
      <code>items</code>,
      <code>iteritems</code>,
      <code>iterkeys</code>,
      <code>itervalues</code>,
      <code>keys</code>,
      <code>pop</code>,
      <code>popitem</code>,
      <code>setdefault</code>,
      <code>update</code>,
      <code>values</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Variables</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>dict</code></b>:
      <code>__hash__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.module.ModuleBase-class.html#current_section" class="summary-name">current_section</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.module.ModuleBase-class.html#name" class="summary-name">name</a>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">parent</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">docstring</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">cpp_namespace</span>=<span class="sig-default">None</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___47-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init___47-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___47" name="call_graph_for___init___47">
<area shape="rect" href="pybindgen.module.Module-class.html#__init__" title="Module.__init__()" alt="" coords="24,117,200,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#__init__" title="__init__()" alt="" coords="268,145,372,177"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_namespace_path" title="get_namespace_path()" alt="" coords="548,5,777,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_name" title="set_name()" alt="" coords="601,61,724,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#set_strip_prefix" title="set_strip_prefix()" alt="" coords="575,117,751,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#__init__" title="typehandlers.base.CodeBlock.__init__()" alt="" coords="473,173,852,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#__init__" title="typehandlers.base.DeclarationsScope.__init__()" alt="" coords="436,229,889,261"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#__init__" title="typehandlers.codesink.MemoryCodeSink.__init__()" alt="" coords="421,285,904,317"/>
<area shape="rect" href="pybindgen.module.SubModule-class.html#__init__" title="SubModule.__init__()" alt="" coords="7,173,217,205"/>
</map>
  <img src="call_graph_for___init___47.gif" alt='' usemap="#call_graph_for___init___47" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Note: this is an abstract base class, see <a 
  href="pybindgen.module.Module-class.html" class="link">Module</a></p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>name</code></strong> - module name</li>
        <li><strong class="pname"><code>parent</code></strong> - parent <a href="pybindgen.module.Module-class.html" 
          class="link">module</a> (i.e. the one that contains this 
          submodule) or None if this is a root module</li>
        <li><strong class="pname"><code>docstring</code></strong> - docstring to use for this module</li>
        <li><strong class="pname"><code>cpp_namespace</code></strong> - C++ namespace prefix associated with this module</li>
    </ul></dd>
    <dt>Returns: <pre class="literalblock">
new empty dictionary

</pre></dt>
        <dd>a new module object</dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="begin_section"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">begin_section</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">section_name</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.begin_section">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Declare that types and functions registered with the module in the 
  future belong to the section given by that section_name parameter, until 
  a matching end_section() is called.</p>
  <dl class="fields">
  </dl>
<div class="fields">      <p><strong>Note:</strong>
        <a href="pybindgen.module.ModuleBase-class.html#begin_section" 
        class="link">begin_section</a>/<a 
        href="pybindgen.module.ModuleBase-class.html#end_section" 
        class="link">end_section</a> are silently ignored unless a <a 
        href="pybindgen.module.MultiSectionFactory-class.html" 
        class="link">MultiSectionFactory</a> object is used as code 
        generation output.
      </p>
</div></td></tr></table>
</div>
<a name="end_section"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">end_section</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">section_name</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.end_section">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Declare the end of a section, i.e. further types and functions will 
  belong to the main module.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>section_name</code></strong> - name of section; must match the one in the previous <a 
          href="pybindgen.module.ModuleBase-class.html#begin_section" 
          class="link">begin_section</a> call.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_root"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_root</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.get_root">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_root-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_get_root-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_root" name="call_graph_for_get_root">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_container_constructor" title="container.Container._generate_container_constructor()" alt="" coords="15,5,540,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_root" title="get_root()" alt="" coords="599,201,711,233"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_update_names" title="container.Container._update_names()" alt="" coords="95,61,460,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="container.Container.generate_forward_declarations()" alt="" coords="24,117,531,149"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_number_methods" title="cppclass.CppClass._generate_number_methods()" alt="" coords="44,173,511,205"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_sequence_methods" title="cppclass.CppClass._generate_sequence_methods()" alt="" coords="37,229,517,261"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="5,285,549,317"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="23,341,532,373"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_current_section" title="get_current_section()" alt="" coords="168,397,387,429"/>
</map>
  <img src="call_graph_for_get_root.gif" alt='' usemap="#call_graph_for_get_root" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  
  <dl class="fields">
    <dt>Returns:</dt>
        <dd>the root <a href="pybindgen.module.Module-class.html" 
          class="link">Module</a> (even if it is self)</dd>
  </dl>
</td></tr></table>
</div>
<a name="set_c_function_name_transformer"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_c_function_name_transformer</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">transformer</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.set_c_function_name_transformer">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Sets the function to be used when transforming a C function name into 
  the python function name; the given given function is called like 
  this:</p>
<pre class="literalblock">
 python_name = transformer(c_name)
</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="add_include"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_include</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">include</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_include">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_include-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_include-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_include" name="call_graph_for_add_include">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_output_stream_operator" title="cppclass.CppClass.add_output_stream_operator()" alt="" coords="5,5,477,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_include" title="add_include()" alt="" coords="525,61,669,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_helper_class" title="cppclass.CppClass.get_helper_class()" alt="" coords="64,61,419,93"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#parse_init" title="gccxmlparser.ModuleParser.parse_init()" alt="" coords="53,117,429,149"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="717,61,837,93"/>
</map>
  <img src="call_graph_for_add_include.gif" alt='' usemap="#call_graph_for_add_include" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Adds an additional include directive, needed to compile this python 
  module</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>include</code></strong> - the name of the header file to include, including surrounding 
          &quot;&quot; or &lt;&gt;.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="add_function"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_function</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">*args</span>,
        <span class="sig-arg">**kwargs</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_function">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_function-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_function-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_function" name="call_graph_for_add_function">
<area shape="rect" href="pybindgen.function.Function-class.html#__init__" title="function.Function.__init__()" alt="" coords="800,5,1072,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="5,33,549,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_function" title="add_function()" alt="" coords="599,33,751,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_function_obj" title="_add_function_obj()" alt="" coords="836,61,1036,93"/>
</map>
  <img src="call_graph_for_add_function.gif" alt='' usemap="#call_graph_for_add_function" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Add a function to the module/namespace. See the documentation for <a 
  href="pybindgen.function.Function-class.html#__init__" 
  class="link">Function.__init__</a> for information on accepted 
  parameters.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="add_custom_function_wrapper"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_custom_function_wrapper</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">*args</span>,
        <span class="sig-arg">**kwargs</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_custom_function_wrapper">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_custom_func-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_custom_func-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_custom_func" name="call_graph_for_add_custom_func">
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html#__init__" title="function.CustomFunctionWrapper.__init__()" alt="" coords="371,5,789,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_function_obj" title="_add_function_obj()" alt="" coords="480,61,680,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_custom_function_wrapper" title="add_custom_function_wrapper()" alt="" coords="7,33,321,65"/>
</map>
  <img src="call_graph_for_add_custom_func.gif" alt='' usemap="#call_graph_for_add_custom_func" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Add a function, using custom wrapper code, to the module/namespace. 
  See the documentation for <a 
  href="pybindgen.function.CustomFunctionWrapper-class.html#__init__" 
  class="link">CustomFunctionWrapper.__init__</a> for information on 
  accepted parameters.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="register_type"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">register_type</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">full_name</span>,
        <span class="sig-arg">type_wrapper</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.register_type">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_register_type-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_register_type-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_register_type" name="call_graph_for_register_type">
<area shape="rect" href="pybindgen.container.Container-class.html#register_alias" title="container.Container.register_alias()" alt="" coords="5,5,349,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#register_type" title="register_type()" alt="" coords="397,145,555,177"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#register_alias" title="cppclass.CppClass.register_alias()" alt="" coords="15,61,340,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_class_obj" title="_add_class_obj()" alt="" coords="93,117,261,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_container_obj" title="_add_container_obj()" alt="" coords="72,173,283,205"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_enum_obj" title="_add_enum_obj()" alt="" coords="89,229,265,261"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_typedef" title="add_typedef()" alt="" coords="104,285,251,317"/>
</map>
  <img src="call_graph_for_register_type.gif" alt='' usemap="#call_graph_for_register_type" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Register a type wrapper with the module, for easy access in the 
  future.  Normally should not be called by the programmer, as it is meant 
  for internal pybindgen use and called automatically.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>name</code></strong> - type name without any C++ namespace prefix, or None</li>
        <li><strong class="pname"><code>full_name</code></strong> - type name with a C++ namespace prefix, or None</li>
        <li><strong class="pname"><code>type_wrapper</code></strong> - the wrapper object for the type (e.g. <a 
          href="pybindgen.cppclass.CppClass-class.html" 
          class="link">CppClass</a> or <a 
          href="pybindgen.enum.Enum-class.html" class="link">Enum</a>)</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="add_class"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_class</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">*args</span>,
        <span class="sig-arg">**kwargs</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_class">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_class_2-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_class_2-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_class_2" name="call_graph_for_add_class_2">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#__init__" title="cppclass.CppClass.__init__()" alt="" coords="737,5,1009,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_class" title="cppclass.CppClass.add_class()" alt="" coords="117,5,405,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_class" title="add_class()" alt="" coords="567,33,687,65"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,61,516,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_class_obj" title="_add_class_obj()" alt="" coords="789,61,957,93"/>
</map>
  <img src="call_graph_for_add_class_2.gif" alt='' usemap="#call_graph_for_add_class_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Add a class to the module. See the documentation for <a 
  href="pybindgen.cppclass.CppClass-class.html#__init__" 
  class="link">CppClass.__init__</a> for information on accepted 
  parameters.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="add_struct"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_struct</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">*args</span>,
        <span class="sig-arg">**kwargs</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_struct">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_struct-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_struct-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_struct" name="call_graph_for_add_struct">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#__init__" title="cppclass.CppClass.__init__()" alt="" coords="253,5,525,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_constructor" title="cppclass.CppClass.add_constructor()" alt="" coords="213,61,565,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_copy_constructor" title="cppclass.CppClass.add_copy_constructor()" alt="" coords="188,117,591,149"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_class_obj" title="_add_class_obj()" alt="" coords="305,173,473,205"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_struct" title="add_struct()" alt="" coords="7,89,137,121"/>
</map>
  <img src="call_graph_for_add_struct.gif" alt='' usemap="#call_graph_for_add_struct" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Add a struct to the module.</p>
  <p>In addition to the parameters accepted by <a 
  href="pybindgen.cppclass.CppClass-class.html#__init__" 
  class="link">CppClass.__init__</a>, this method accepts the following 
  keyword parameters:</p>
  <ul>
    <li>
      no_constructor (bool): if True, the structure will not have a 
      constructor by default (if omitted, it will be considered to have a 
      trivial constructor).
    </li>
    <li>
      no_copy (bool): if True, the structure will not have a copy 
      constructor by default (if omitted, it will be considered to have a 
      simple copy constructor).
    </li>
  </ul>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="add_cpp_namespace"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_cpp_namespace</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_cpp_namespace">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_cpp_namespa-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_cpp_namespa-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_cpp_namespa" name="call_graph_for_add_cpp_namespa">
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,61,516,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_cpp_namespace" title="add_cpp_namespace()" alt="" coords="565,61,787,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_submodule" title="get_submodule()" alt="" coords="855,5,1028,37"/>
<area shape="rect" href="pybindgen.module.SubModule-class.html#__init__" title="SubModule.__init__()" alt="" coords="836,61,1047,93"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="881,117,1001,149"/>
</map>
  <img src="call_graph_for_add_cpp_namespa.gif" alt='' usemap="#call_graph_for_add_cpp_namespa" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Add a nested module namespace corresponding to a C++ namespace.  If 
  the requested namespace was already added, the existing module is 
  returned instead of creating a new one.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>name</code></strong> - name of C++ namespace (just the last component, not full scoped 
          name); this also becomes the name of the submodule.</li>
    </ul></dd>
    <dt>Returns:</dt>
        <dd>a <a href="pybindgen.module.SubModule-class.html" 
          class="link">SubModule</a> object that maps to this namespace.</dd>
  </dl>
</td></tr></table>
</div>
<a name="add_enum"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_enum</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">*args</span>,
        <span class="sig-arg">**kwargs</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_enum">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_enum_2-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_enum_2-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_enum_2" name="call_graph_for_add_enum_2">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_enum" title="cppclass.CppClass.add_enum()" alt="" coords="112,5,411,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_enum" title="add_enum()" alt="" coords="565,33,696,65"/>
<area shape="rect" href="pybindgen.enum.Enum-class.html#__init__" title="enum.Enum.__init__()" alt="" coords="745,5,967,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,61,516,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_enum_obj" title="_add_enum_obj()" alt="" coords="768,61,944,93"/>
</map>
  <img src="call_graph_for_add_enum_2.gif" alt='' usemap="#call_graph_for_add_enum_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Add an enumeration to the module. See the documentation for <a 
  href="pybindgen.enum.Enum-class.html#__init__" 
  class="link">Enum.__init__</a> for information on accepted 
  parameters.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="add_container"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_container</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">*args</span>,
        <span class="sig-arg">**kwargs</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_container">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_container-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_container-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_container" name="call_graph_for_add_container">
<area shape="rect" href="pybindgen.container.Container-class.html#__init__" title="container.Container.__init__()" alt="" coords="735,5,1025,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_register_container" title="gccxmlparser.ModuleParser._register_container()" alt="" coords="7,33,471,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_container" title="add_container()" alt="" coords="520,33,685,65"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_container_obj" title="_add_container_obj()" alt="" coords="775,61,985,93"/>
</map>
  <img src="call_graph_for_add_container.gif" alt='' usemap="#call_graph_for_add_container" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Add a container to the module. See the documentation for <a 
  href="pybindgen.container.Container-class.html#__init__" 
  class="link">Container.__init__</a> for information on accepted 
  parameters.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="declare_one_time_definition"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">declare_one_time_definition</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">definition_name</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.declare_one_time_definition">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_declare_one_tim-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_declare_one_tim-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_declare_one_tim" name="call_graph_for_declare_one_tim">
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="container.Container.generate_forward_declarations()" alt="" coords="7,5,513,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#declare_one_time_definition" title="declare_one_time_definition()" alt="" coords="564,89,855,121"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_typeid_map" title="cppclass.CppClass._generate_typeid_map()" alt="" coords="55,61,465,93"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_c_to_python_type_converter" title="Module.generate_c_to_python_type_converter()" alt="" coords="28,117,492,149"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_python_to_c_type_converter" title="Module.generate_python_to_c_type_converter()" alt="" coords="28,173,492,205"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="904,89,1024,121"/>
</map>
  <img src="call_graph_for_declare_one_tim.gif" alt='' usemap="#call_graph_for_declare_one_tim" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Internal helper method for code geneneration to coordinate generation 
  of code that can only be defined once per compilation unit</p>
  <p>(note: assuming here one-to-one mapping between 'module' and 
  'compilation unit').</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>definition_name</code></strong> - a string that uniquely identifies the code definition that will 
          be added.  If the given definition was already declared KeyError 
          is raised.
<pre class="py-doctest">
<span class="py-prompt">&gt;&gt;&gt; </span>module = Module(<span class="py-string">'foo'</span>)
<span class="py-prompt">&gt;&gt;&gt; </span>module.declare_one_time_definition(<span class="py-string">&quot;zbr&quot;</span>)
<span class="py-prompt">&gt;&gt;&gt; </span>module.declare_one_time_definition(<span class="py-string">&quot;zbr&quot;</span>)
<span class="py-except">Traceback (most recent call last):</span>
<span class="py-except">...</span>
<span class="py-except">KeyError</span>
<span class="py-except"></span><span class="py-prompt">&gt;&gt;&gt; </span>module.declare_one_time_definition(<span class="py-string">&quot;bar&quot;</span>)</pre></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="__repr__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Representation operator)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.__repr__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>repr(x)</p>
  <dl class="fields">
    <dt>Overrides:
        object.__repr__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="add_typedef"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_typedef</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">wrapper</span>,
        <span class="sig-arg">alias</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.module-pysrc.html#ModuleBase.add_typedef">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_add_typedef-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_add_typedef-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_add_typedef" name="call_graph_for_add_typedef">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#register_alias" title="cppclass.CppClass.register_alias()" alt="" coords="763,5,1088,37"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="7,89,516,121"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_typedef" title="add_typedef()" alt="" coords="567,89,713,121"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_namespace_path" title="get_namespace_path()" alt="" coords="811,61,1040,93"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#register_type" title="register_type()" alt="" coords="847,117,1004,149"/>
<area shape="rect" href="pybindgen.utils-module.html#ascii" title="utils.ascii()" alt="" coords="865,173,985,205"/>
</map>
  <img src="call_graph_for_add_typedef.gif" alt='' usemap="#call_graph_for_add_typedef" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Declares an equivalent to a typedef in C:</p>
<pre class="literalblock">
 typedef Foo Bar;
</pre>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>wrapper</code></strong> - the wrapper object to alias (Foo in the example)</li>
        <li><strong class="pname"><code>alias</code></strong> - name of the typedef alias</li>
    </ul></dd>
  </dl>
<div class="fields">      <p><strong>Note:</strong>
        only typedefs for CppClass objects have been implemented so far; 
        others will be implemented in the future.
      </p>
</div></td></tr></table>
</div>
<br />
<!-- ==================== PROPERTY DETAILS ==================== -->
<a name="section-PropertyDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Property Details</span></td>
</tr>
</table>
<a name="current_section"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">current_section</h3>
  
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#get_current_section" class="summary-sig-name">get_current_section</a>(<span class="summary-sig-arg">self</span>)</span>
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="name"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">name</h3>
  
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#get_name" class="summary-sig-name">get_name</a>(<span class="summary-sig-arg">self</span>)</span>
    </dd>
    <dt>Set Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.module.ModuleBase-class.html#set_name" class="summary-sig-name">set_name</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span>
    </dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:25 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
